Replication Archive for

Coppock, Alexander. Visualize as You Randomize: Design-Based Statistical Graphs for Randomized Experiments
Advances in Experimental Political Science, James N. Druckman and Donald P. Green, editors

This replication archive contains 8 R scripts, 1 stata .do file, and 7 .csvs


I. Fake data simulation

make_datasets.R

This file is the code that creates all of the csvs in the archive.

II. R figures

two_arm_trial.R
blocked.R
clustered.R
covariate_adjustment.R
noncompliance.R
interaction.R
attrition.R

III. Stata figures

This code produces something similar to Figure 1

two_arm_trial.do
